package demo_2_param;

public class homework_4 {
	public static void main(String[] args) {
		int sum=0;
		for (int i = 1; i <=15; i++) {
			int n=1;
			for (int j = 1; j <=i; j++) {
				n*=i;
				
			}
			sum+=n;
		}
		System.out.print(sum);
	}
}
